<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/include/page.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<title>请假单 - 请销假管理系统</title>
		<%@ include file="/common/include/title.jsp" %>
	</head>
	<body>
		<%@ include file="/common/include/header.jsp"%>
		<!-- 网页头部开始 -->
		<div class="container-fluid">
			<div class="row">
				<div class="col-sm-8 col-sm-offset-1 main">
					<h2 class="sub-header">计算机与信息工程学院请假单</h2>
	
					<form id="form" class="form-horizontal" method="post"
						action="${rootpath }/back/user/leaveInsertSubmit.htm">
						<input type="hidden" name="operType" value="update">
						<div class="form-group">
							<label for="uid" class="col-sm-2 control-label">学号:</label>
							<div class="col-sm-8">
								<input type="text" id="uid" name="uid" value="${requestScope.leaveList.user.loginName }"
									class="form-control" placeholder="学号">
							</div>
						</div>
						<div class="form-group">
							<label for="uname" class="col-sm-2 control-label">姓名:</label>
							<div class="col-sm-8">
								<input type="text" id="uname" name="uname" value=""
									class="form-control" placeholder="姓名">
							</div>
						</div>
						<div class="form-group">
							<label for="clazz" class="col-sm-2 control-label">班级:</label>
							<div class="col-sm-8">
								<input type="text" id="clazz" name="clazz" value=""
									class="form-control" placeholder="班级">
							</div>
						</div>
						<div class="form-group">
							<label for="startTime" class="col-sm-2 control-label">开始时间:</label>
							<div class="col-sm-8">
								<input type="text" id="startTime" name="startTime" value=""
									class="form-control" placeholder="开始时间">
							</div>
						</div>
						<div class="form-group">
							<label for="endTime" class="col-sm-2 control-label">结束时间:</label>
							<div class="col-sm-8">
								<input type="text" id="endTime" name="endTime" value=""
									class="form-control" placeholder="结束时间">
							</div>
						</div>
						<div class="form-group">
							<label for="reason" class="col-sm-2 control-label">原因:</label>
							<div class="col-sm-8">
								<input type="text" id="reason" name="reason" value=""
									class="form-control" placeholder="原因">
							</div>
						</div>
						<div class="form-group">
							<label for="createTime" class="col-sm-2 control-label">填表时间:</label>
							<div class="col-sm-8">
								<input type="text" id="createTime" name="createTime" value=""
									class="form-control" placeholder="填表时间">
							</div>
						</div>
						<div class="form-group">
							<label for="direction" class="col-sm-2 control-label">去向:</label>
							<div class="col-sm-8">
								<input type="text" id="direction" name="direction" value=""
									class="form-control" placeholder="填表时间">
							</div>
						</div>
						<div class="form-group">
							<label for="regionId" class="col-sm-2 control-label">地区:</label>
							<div class="col-sm-8">
								<input type="text" class="sr-only" name="regionId" id="regionId" value="0"> 
								<span> 选择: 
									<select id="region1" onchange="return selectRegion('region1','region2','regionId');">
										<option value="">请选择</option>
									</select> 
									<select id="region2" onchange="return selectRegion('region2','region3','regionId');">
									</select> 
									<select id="region3" onchange="return selectRegion('region3','region4','regionId');">
									</select>
								</span>
							</div>
						</div>
						<div class="form-group">
							<label for="address" class="col-sm-2 control-label">详细地址:</label>
							<div class="col-sm-8">
								<textarea rows="5" cols="80" id="address" name="address" class="form-control">
								</textarea>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-2">
								<button class="btn btn-lg btn-primary" type="submit">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	
	
		<!-- 提示信息 -->
		<div class="container">
			<div class="col-sm-8 col-sm-offset-1"></div>
		</div>
		<%@ include file="/common/include/footer.jsp"%>
	</body>
</html>